@echo off
echo Compiling openblas_like_gemm.c...
C:\MinGW\bin\g++.exe -O2 openblas_like_gemm.c -o openblas_like_gemm.exe

if %errorlevel% neq 0 (
  echo Compilation failed!
  pause
  exit /b %errorlevel%
)

echo Compilation successful!
echo Running program...

echo.
openblas_like_gemm.exe 1000 1000 1000
pause

